package com.ktjy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ktjy.dto.BusinessDTO;
import com.ktjy.pojo.TbBusiness;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商机 Mapper 接口
 * </p>
 *
 * @author jjx
 * @since 2025-08-19
 */
public interface TbBusinessMapper extends BaseMapper<TbBusiness> {
    /**
     * 根据条件分页查询活动列表
     * @param page
     * @param businessDTO
     * @return
     */
    IPage<TbBusiness> getPage(Page<TbBusiness> page,
                             @Param("businessDTO") BusinessDTO businessDTO);
}
